﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace lumo.display.animation2D
{
    /// <summary>
    /// Main interface for animator.
    /// </summary>
    public interface IAnimation2D : IUpdatable
    {
        /// <summary>
        /// Check if animation has finished.
        /// </summary>
        /// <returns>True if it has finished.</returns>
        bool Finished { get; }        
        
        /// <summary>
        /// Reset the animation.
        /// </summary>
        void Reset();
    }
}
